// 后台管理
import React from 'react'
import LazyLoad from '../../LazyLoad'

const RoleAuthorities = (props) => <LazyLoad loadFn={() => import('@pages/adminManage/RoleAuthorities')} {...props} />
const DepartmentEmployee = (props) => <LazyLoad loadFn={() => import('@pages/adminManage/DepartmentEmployee')} {...props} />
const DocumentManage = (props) => <LazyLoad loadFn={() => import('@pages/adminManage/DocumentManage')} {...props} />
const LetterManage = (props) => <LazyLoad loadFn={() => import('@pages/adminManage/LetterManage')} {...props} />
const SystemLog = (props) => <LazyLoad loadFn={() => import('@pages/adminManage/SystemLog/Index')} {...props} />
const ConfigSetter = (props) => <LazyLoad loadFn={() => import('@pages/adminManage/ConfigSetter/Index')} {...props} />
const RequestLog = (props) => <LazyLoad loadFn={() => import('@pages/adminManage/RequestLog/Index')} {...props} />
const AppraisalMgt = (props) => <LazyLoad loadFn={() => import('@pages/adminManage/AppraisalMgt/Index')} {...props} />
const AppraisalList = (props) => <LazyLoad loadFn={() => import('@pages/adminManage/AppraisalList/Index')} {...props} />
const Chat = (props) => <LazyLoad loadFn={() => import('@pages/adminManage/Chat/Index')} {...props} />

const router = {
  RoleAuthorities, // 角色权限管理
  DepartmentEmployee, // 部门人员管理
  DocumentManage, // 文书管理
  LetterManage, // 信访管理
  SystemLog, // 系统日志
  ConfigSetter, // 配置项管理
  RequestLog, // 操作日志
  AppraisalMgt, // 鉴定机构管理
  AppraisalList, // 鉴定机构查询
  Myaichat: Chat // 智能聊天
}

export default router
